
# see http://wiki.cython.org/FAQ/cdef_derive

cdef extern from "listobject.h":
    ctypedef class __builtin__.list [object PyListObject]:
        pass

cdef extern from "dictobject.h":
    ctypedef class __builtin__.dict [object PyDictObject]:
        pass

cdef extern from "setobject.h":
    ctypedef class __builtin__.set [object PySetObject]:
        pass

cdef extern from "setobject.h":
    ctypedef class __builtin__.frozenset [object PySetObject]:
        pass

cdef extern from "pyerrors.h":
    ctypedef class __builtin__.BaseException [object PyBaseExceptionObject]:
        pass

